package com.iven.xie.designpattern.facade.system;

/**
 * 外观角色
 *
 * @author xiezhendong
 * @date 2021/8/2
 */
public class SystemFacade {
    private SubSystem01 obj1 = new SubSystem01();
    private SubSystem02 obj2 = new SubSystem02();
    private SubSystem03 obj3 = new SubSystem03();

    public void method() {
        obj1.method1();
        obj2.method2();
        obj3.method3();
    }
}
